﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000041 RID: 65
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AddEquipmentScNotify : IMessage<AddEquipmentScNotify>, IMessage, IEquatable<AddEquipmentScNotify>, IDeepCloneable<AddEquipmentScNotify>, IBufferMessage
	{
		// Token: 0x170000C8 RID: 200
		// (get) Token: 0x060002D3 RID: 723 RVA: 0x0000900C File Offset: 0x0000720C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AddEquipmentScNotify> Parser
		{
			get
			{
				return AddEquipmentScNotify._parser;
			}
		}

		// Token: 0x170000C9 RID: 201
		// (get) Token: 0x060002D4 RID: 724 RVA: 0x00009013 File Offset: 0x00007213
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AddEquipmentScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170000CA RID: 202
		// (get) Token: 0x060002D5 RID: 725 RVA: 0x00009025 File Offset: 0x00007225
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AddEquipmentScNotify.Descriptor;
			}
		}

		// Token: 0x060002D6 RID: 726 RVA: 0x0000902C File Offset: 0x0000722C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddEquipmentScNotify()
		{
		}

		// Token: 0x060002D7 RID: 727 RVA: 0x00009034 File Offset: 0x00007234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddEquipmentScNotify(AddEquipmentScNotify other) : this()
		{
			this.dCMFEJJJFIA_ = other.dCMFEJJJFIA_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060002D8 RID: 728 RVA: 0x00009059 File Offset: 0x00007259
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddEquipmentScNotify Clone()
		{
			return new AddEquipmentScNotify(this);
		}

		// Token: 0x170000CB RID: 203
		// (get) Token: 0x060002D9 RID: 729 RVA: 0x00009061 File Offset: 0x00007261
		// (set) Token: 0x060002DA RID: 730 RVA: 0x00009069 File Offset: 0x00007269
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DCMFEJJJFIA
		{
			get
			{
				return this.dCMFEJJJFIA_;
			}
			set
			{
				this.dCMFEJJJFIA_ = value;
			}
		}

		// Token: 0x060002DB RID: 731 RVA: 0x00009072 File Offset: 0x00007272
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AddEquipmentScNotify);
		}

		// Token: 0x060002DC RID: 732 RVA: 0x00009080 File Offset: 0x00007280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AddEquipmentScNotify other)
		{
			return other != null && (other == this || (this.DCMFEJJJFIA == other.DCMFEJJJFIA && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060002DD RID: 733 RVA: 0x000090B0 File Offset: 0x000072B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DCMFEJJJFIA != 0U)
			{
				num ^= this.DCMFEJJJFIA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060002DE RID: 734 RVA: 0x000090EF File Offset: 0x000072EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060002DF RID: 735 RVA: 0x000090F7 File Offset: 0x000072F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060002E0 RID: 736 RVA: 0x00009100 File Offset: 0x00007300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DCMFEJJJFIA != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.DCMFEJJJFIA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060002E1 RID: 737 RVA: 0x00009134 File Offset: 0x00007334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DCMFEJJJFIA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DCMFEJJJFIA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060002E2 RID: 738 RVA: 0x00009172 File Offset: 0x00007372
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AddEquipmentScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DCMFEJJJFIA != 0U)
			{
				this.DCMFEJJJFIA = other.DCMFEJJJFIA;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060002E3 RID: 739 RVA: 0x000091A3 File Offset: 0x000073A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060002E4 RID: 740 RVA: 0x000091AC File Offset: 0x000073AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.DCMFEJJJFIA = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040000F5 RID: 245
		private static readonly MessageParser<AddEquipmentScNotify> _parser = new MessageParser<AddEquipmentScNotify>(() => new AddEquipmentScNotify());

		// Token: 0x040000F6 RID: 246
		private UnknownFieldSet _unknownFields;

		// Token: 0x040000F7 RID: 247
		public const int DCMFEJJJFIAFieldNumber = 9;

		// Token: 0x040000F8 RID: 248
		private uint dCMFEJJJFIA_;
	}
}
